package com.jt.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @outhor fufeixiang
 * @date 2021-04-26
 */
@Component
@Aspect
@Order(1)
public class SpringUserService2 {
    @Pointcut("@annotation(com.jt.anno.aaa)")
    public void pointCut(){

    }
    @Before("pointCut()")
    public void before(){
        System.out.println("我是b切面");
    }
}
